package com.acoreful.acf2admin.web.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/backbone")
public class BackboneController {
	private Logger logger=LoggerFactory.getLogger(BackboneController.class);
	@RequestMapping
	public String index() {
		logger.info("Backbone Index ");
		return "backbone/index";
	}
	/**
	 * html
	 * @return
	 */
	@RequestMapping("/text")
	public String text(){
		return "templates/text";
	}
	/**
	 * 可编辑表格
	 * @return
	 */
	@RequestMapping("/tables")
	public String tables() {
		logger.info("Backbone Index ");
		return "backbone/tables";
	}
}
